close printing
Type
command
Summary
Sends the current print job to the printer.
Syntax
close printing
Description
Use the close printing command to print cards that you've selected with the print card command.
If you use print after the open printing command, the cards you print are saved up to be printed as a single batch. The close printing command prints out this batch of cards, enabling you to print multiple cards on a page.
If no print card commands have been executed since the open printing command, the close printing command prints a blank page. If you used the form of the open printing command, and the user canceled the dialog, you don't need to issue a close printing command.
Examples
close printing
if tPrinting is "complete" then close printing
open printing
repeat with x = 1 to the number of cards
print card
end repeat
close printing
Related
command: print, close, open printing, cancel printing
glossary: dialog box, print job, command, execute
keyword: card
object: card
property: selected
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
mobile